#include "FITKCDCfgCSetComputation.h"

using namespace Interface;


void FITKCDCfgCSetComputation::setMinimum_xyz(double* dVal)
{
	setValue("Minimum_xyz_0", dVal[0]);
	setValue("Minimum_xyz_1", dVal[1]);
	setValue("Minimum_xyz_2", dVal[2]);
}
void FITKCDCfgCSetComputation::setMaximum_xyz(double* dVal)
{
	setValue("Maximum_xyz_0", dVal[0]);
	setValue("Maximum_xyz_1", dVal[1]);
	setValue("Maximum_xyz_2", dVal[2]);
}


double* FITKCDCfgCSetComputation::getMinimum_xyz()
{
	double* Minimum_xyz = new double[3];
	Minimum_xyz[0] = getValue("Minimum_xyz_0").toDouble();
	Minimum_xyz[1] = getValue("Minimum_xyz_1").toDouble();
	Minimum_xyz[2] = getValue("Minimum_xyz_2").toDouble();
	return Minimum_xyz;
}
double* FITKCDCfgCSetComputation::getMaximum_xyz()
{
	double* Maximum_xyz = new double[3];
	Maximum_xyz[0] = getValue("Maximum_xyz_0").toDouble();
	Maximum_xyz[1] = getValue("Maximum_xyz_1").toDouble();
	Maximum_xyz[2] = getValue("Maximum_xyz_2").toDouble();
	return Maximum_xyz;
}
